{{assign var="title" value="角色编辑"}}
{{include file="admin/intop.html"}}
<form id="form1" name="form1" method="post" action="admin.php?ctl=role&act={{$smarty.request.act}}">
<input type="hidden" name="id" value="{{$smarty.request.id}}">
<input type="hidden" name="actname" value="save">
<table width="100%" border="0" cellspacing="1" cellpadding="0" class="table_list">
    <tr class="mouse">
    <td class="lr"><font color="red">*</font> 角色名称</td>
    <td class="lf"><input name="role_name" type="text" maxlength="20" id="role_name" value="{{$roleItem.ROLE_NAME}}" style="width:200px;" /></td>
    </tr>
    <tr class="mouse">
    <td class="lr"><font color="red">*</font> 状态</td>
    <td class="lf"><input type="radio" name="state" id="state1" value="1"{{if $roleItem.STATE=="" || $roleItem.STATE==1}} checked="checked"{{/if}}/><label for="state1">启用</label>
    	<input type="radio" name="state" id="state2" value="2"{{if $roleItem.STATE==2}} checked="checked"{{/if}}/><label for="state2">禁用</label></td>
    </tr>
    <tr class="bottom">
    <td colspan="2" align="center"><input type="submit" name="btnSubmit" id="btnSubmit" value="确认保存" /></td>
    </tr>
</table>
</form>
{{include file="admin/infoot.html"}}
